html, body {
  overflow-x: hidden;
  width: 100%;
}


/* ================= HEADER ================= */
.top-header{
  height:90px;
  background:#000;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
    border-bottom:1px solid #1f2937;
}
@media (max-width: 576px){
  .top-header h6{
    display:none;
  }
}
@media (max-width: 576px){

  /* right side container ko visible rakho */
  .top-header .text-end{
    display:block !important;
    text-align:left !important;
    margin-top:6px;
    margin-left: 10px;
  }

  /* text ko wrap allow karo */
  .top-header .text-end div{
    white-space:normal;
    word-break:break-word;
    font-size:10px;
    line-height:1.4;
  }
}

@media (max-width: 768px) {
  .head-remove {
    display: none;
  }
 .text-end.small .side {
    font-size: 10px !important;
  }
  .d-flex img {
    width: 90px;   /* yahan size adjust kar sakte ho */
    height: auto;
  }
}

/* ================= MAIN ================= */
.main-wrapper{
  margin-top:100px;
}

.sidebar{
  background:black;
  position:fixed;
  top:92px;                 /* header height */
  left:0;
  width:250px;

  height: calc(100vh - 93px);  /* ⭐ MOST IMPORTANT */
  overflow-y: auto;            /* scroll enable */
scrollbar-width: thin;
  scrollbar-color: #302f2e #000;
  padding:10px;
  z-index:999;
}

.sidebar::-webkit-scrollbar{
  width: 6px;
}

.sidebar::-webkit-scrollbar-track{
  background: #000;   /* BLACK background */
}

.sidebar::-webkit-scrollbar-thumb{
  background: #ffc107;  /* Yellow thumb */
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover{
  background: #e0a800;
}
/* MENU LIST */
.sidebar ul{
  list-style:none;
  padding:10px 0;
  margin:0;
}


/* MENU ITEM */
.sidebar li a{
  display:flex;
  gap:12px;
  align-items:center;
  padding:13px 20px;
  color:#cbd5e1;
  font-weight: 600;
  text-decoration:none;
  font-size:16px;
  transition:.25s;
    margin-top: 4px;
}

/* ICON */
.sidebar li a i{
  font-size:16px;
  min-width:18px;
    font-weight: 600;
}

/* ACTIVE + HOVER */
.sidebar li a:hover,
.sidebar li a.active{
  background:#ffc107;
  border-radius:25px 0 0 25px;
  color:#000;
  font-weight:600;
}

/* SUBMENU */
.sidebar .submenu{
  background:black;
  margin-left: -10px;
  font-size: 14px;

}

.sidebar .submenu li a{
  padding:7px 35px;
  font-size:14px;

  color:#9ca3af;
}

/* Submenu hover disabled */
.sidebar .submenu li a:hover{
  background: transparent;
  color:#9ca3af;   /* same default color */
  border-radius:0;
}


/* ARROW ROTATE */
.nav-link[aria-expanded="true"] .bi-chevron-down{
  transform:rotate(180deg);
  transition:.3s;
}
/* Premium smooth submenu animation */
.sidebar .collapse{
  transition: height .45s ease;
  overflow: hidden;
}

.sidebar .collapse .submenu-item{
  transition: opacity .25s ease, transform .25s ease;
}

/* closing state */
.sidebar .collapse.closing .submenu-item{
  opacity:0;
  transform: translateY(-6px);
}
/* Dropdown active background on click */
/* Menu open (clicked) state */
.sidebar a[aria-expanded="true"]{
  background:#ffc107;
  border-radius:25px 0 0 25px;
  color:#000;
  font-weight:600;
}


/* CONTENT */
.content{
  margin-left:250px;
  transition:.3s;
}

/* DESKTOP */
@media (min-width:992px){
  .sidebar{
    transform:translateX(0);
  }
}
@media (max-width: 991px) {
  .sidebar {
    height: 100vh;
    overflow-y: auto;
    padding-top: 93px; /* header height ke hisab se */
  }
}  
/* Desktop view only */
@media (min-width: 992px) {
  .footer {
    padding-left: 230px;   /* jitna gap chahiye utna */
  }
}
/*footer bottom*/
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

/* Content area ko padding do taki footer ke neeche na dikhe */
.content {
  padding-bottom: 70px; /* Footer height ke hisab se adjust */
}

/* Footer */
.mobile-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #000;
  margin-top: 100px !important;
  border-top: 1px solid #525252;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
}

/* Normal items */
.mobile-footer .item {
  color: #aaa;
  text-decoration: none;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-footer .item i {
  font-size: 18px;
  margin-bottom: 4px;
}

/* Active */
.mobile-footer .item.active {
  color: #f5d547;
}

/* Plus Button */
.plus-btn {
  width: 55px;
  height: 55px;
  background: #f5d547;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.plus-btn i {
  font-size: 22px;
  color: #000;
}

/* Desktop par hide */
@media (min-width: 768px) {
  .mobile-footer {
    display: none;
  }
}

/* MOBILE */
@media (max-width:991px){
  .sidebar{
    top:0;
    transform:translateX(-100%);
    height:100vh;
    overflow-y:auto;
  }
  .sidebar.show{
    transform:translateX(0);
  }
  .content{
    margin-left:0;
  }
}
.footer{
  background:linear-gradient(
    to right,
    #000000,
    #0b0f14,
    #000000
  );
  border-top:1px solid #1f2937;
  color:#cbd5e1;
}

.footer small{
  font-size:13px;
  letter-spacing:.3px;
}
body{
  background:#000;
  color:#fff;
  font-family:Segoe UI, sans-serif;
}

/* TITLE */
.table-title{
  font-size:22px;
  font-weight:600;
}

/* INFO BAR */
.info-bar{
  background:#2874a6;
  color:#fff;
  padding:10px 14px;
  border-radius:3px;
  font-size:15px;
}

body{
  background:#000;
  color:#fff;
  font-family:Segoe UI, sans-serif;
}

/* CARD */
.table-card{
  background:radial-gradient(circle at top,#0c0f14 0%,#000 80%);
  border:1px solid #1e2533;
  padding:15px;
}

/* SEARCH */
.table-search{
  background:transparent;
  border:none;
  border-bottom:1px solid #2a2f3a;
  color:white !important;
  font-size:15px;
  font-weight: 600;
  width:180px;
}
.table-search:focus{
  outline:none;
  border-color:#3b8bfd;
}

/* TABLE */
.custom-table{
  min-width:1000px;
  color:#fff;
}

.custom-table thead th{
  font-size:15px;
  font-weight:600;
  color:#d1d5db;
  border-bottom:1px solid #2a2f3a;
  cursor:pointer;
  white-space:nowrap;
  border-bottom:1px solid #515151;
}

.custom-table tbody td{
  font-size:15px;
  border-bottom:1px dashed #515151;
  white-space:nowrap;
}

/* SORT ICON */
.sort{
  color:#1da1f2;
  font-size:10px;
  margin-left:4px;
}

/* FOOTER */
.table-footer{
  display:flex;
  justify-content:flex-end;
  gap:25px;
  align-items:center;
  font-size:15px;
  margin-top:8px;
  color:#cbd5e1;
}

.table-footer select{
  background:#000;
  border:1px solid #2a2f3a;
  color:#fff;
}

.pager span{
  cursor:pointer;
  padding:0 6px;
}

/* MOBILE */
@media(max-width:768px){
  .table-search{
    width:100%;
  }
}
.blue
{
  background-color:#010511 !important;
  color: white !important;
  
}
.black
{
  background-color: #020304 !important;
  color: white !important;
  font-weight: 600;
  
}
.table-padding td
{
  padding: 12px;
  font-weight: 600;
}
.table-padding .red
{
color: red !important;
}
/* MOBILE TABLE SCROLL FIX */
@media (max-width: 768px) {
  .table-scroll {
    max-height: 350px;     /* 👈 yahin se niche scroll aayega */
    -webkit-overflow-scrolling: touch;
    border: 1px solid #2a2f3a;
  }
 
}
@media (max-width: 768px) {
  .container-fluid {
width: 100%;

padding: 0;
    
}
.table-card{
  width: 100%;
  margin: 0;
  padding: 0;
}

}
